package com.lian.chatroom.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 退出群聊
 */
@Data
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class GroupQuitRequestMessage extends Message{

    private String username;
    private String groupName;

    @Override
    public int getMessageType() {
        return GroupQuitRequestMessage;
    }
}
